import {ElMessage} from "element-plus";
import message from "@/views/zujian/message.vue";

export default {
    showRetMessage:function (d){
        let type="success"
        if (d.data.code==-1)type='error';
        ElMessage({
            type:type,
            message:d.data.message
        })

    }

}